import Http from "@/utils/request"   // 注意文件位置

export const procuresApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/procures', params);
}

export const userInfoApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/userInfo', params);
}
export const procureordersApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/procureorders', params);
}
export const procureordertkApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/procureordertk', params);
}
export const userpriceApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/userprice', params);
}
export const usertxApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/usertx', params);
}
export const procuretkshApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/procuretksh', params);
}
export const procuresqtkApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/procuresqtk', params);
}
export const procurebuysApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/procurebuys', params);
}

export const fankuilistApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/fankuilist', params);
}

export const fankuiaddApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/fankuiadd', params);
}

export const uploadFileApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/admin/uploadFile', params);
}


export const fankuiinfoApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/fankuiinfo', params);
}

// 
export const tishiApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/tishi', params);
}

export const fankuixsApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/fankuixs', params);
}

export const fankuiupdateApi = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/fankuiupdate', params);
}

export const usertg = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/usertg', params);
}


export const tgusers = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/tgusers', params);
}

export const usertc = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/usertc', params);
}

export const fapiaoadd = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/fapiaoadd', params);
}
export const fapiaolist = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/fapiaolist', params);
}

export const ktkorder = (params: any) => {
    // 返回的数据格式可以和服务端约定
    return Http.post<any>('/user/ktkorder', params);
}




